package cn.itcast.order.pojo;

import cn.itcast.feign.pojo.User;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("Student")
public class Item {
    @TableId("id")
    private String id;
    @TableField(exist = false)
    private Long price;
    @TableField("name")
    private String name;
    @TableField(exist = false)
    private Integer num;
    @TableField(exist = false)
    private Long userId;
    @TableField(exist = false)
    private User user;
}